package com.poizon.infrastructure.idem.core.domain.value.exception;

import lombok.Data;

/**
 * 幂等底层存储异常
 */
@Data
public class IdempotentDbStoreException extends RuntimeException {
    public IdempotentDbStoreException(Exception exception) {
        super(exception.getMessage());
    }

    public IdempotentDbStoreException(String exception) {
        super(exception);
    }
}
